package com.probiz.estore.system.service;

import java.util.List;

import com.probiz.estore.common.model.system.PaymentGateway;
import com.probiz.estore.core.service.GenericManager;


/**
 * PaymentGateway Business Delegate (Proxy) Interface to handle communication between web and
 * persistence layer.
 * Developer introduced interfaces should be declared here. Won't get overwritten.
 *
 */
public interface PaymentGatewayManager extends GenericManager<PaymentGateway>{
	/**
	 * 根据类型获得所以添加的支付方式
	 * @param paymentGatewayType
	 * @return
	 */
	public List<PaymentGateway> getAllUnAdded();
	
	public void updateIsAddedStatus(Integer paymentGatewayId, Short isAdded);
	
	/**
	 * get vo by paymentGatewayCode
	 * @param paymentGatewayCode
	 * @return
	 */
	public PaymentGateway getByPaymentGatewayCode(String paymentGatewayCode);
	
}
